package com.kingdee.eas.scm.sm.pur.app;

import com.kingdee.bos.BOSException;
//import com.kingdee.bos.metadata.*;
import com.kingdee.bos.framework.*;
import com.kingdee.bos.util.*;
import com.kingdee.bos.Context;

import java.lang.String;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.scm.sm.pur.PurRequestEntryInfo;
import com.kingdee.eas.scm.sm.pur.PurRequestEntryCollection;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.bos.util.*;
import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.bos.framework.*;
import com.kingdee.eas.scm.common.app.SCMBillEntryBaseController;

import java.rmi.RemoteException;
import com.kingdee.bos.framework.ejb.BizController;

public interface PurRequestEntryController extends SCMBillEntryBaseController
{
    public PurRequestEntryInfo getPurRequestEntryInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException, RemoteException;
    public PurRequestEntryInfo getPurRequestEntryInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException, RemoteException;
    public PurRequestEntryInfo getPurRequestEntryInfo(Context ctx, String oql) throws BOSException, EASBizException, RemoteException;
    public PurRequestEntryCollection getPurRequestEntryCollection(Context ctx) throws BOSException, RemoteException;
    public PurRequestEntryCollection getPurRequestEntryCollection(Context ctx, EntityViewInfo view) throws BOSException, RemoteException;
    public PurRequestEntryCollection getPurRequestEntryCollection(Context ctx, String oql) throws BOSException, RemoteException;
    public void closeEntry(Context ctx, IObjectPK pk, String reasonCode) throws BOSException, EASBizException, RemoteException;
    public void closeEntry(Context ctx, IObjectPK[] ids) throws BOSException, EASBizException, RemoteException;
    public void closeEntry(Context ctx, IObjectPK[] pks, IObjectValue[] vos) throws BOSException, EASBizException, RemoteException;
    public void closeEntry(Context ctx, IObjectPK[] pk, String[] vos) throws BOSException, EASBizException, RemoteException;
    public void submitToWf(Context ctx, IObjectValue model) throws BOSException, EASBizException, RemoteException;
    public void auditForWf(Context ctx, IObjectPK pk, IObjectPK parentpk) throws BOSException, EASBizException, RemoteException;
    public void unClose(Context ctx, IObjectPK pk) throws BOSException, EASBizException, RemoteException;
    public void unClose(Context ctx, IObjectPK[] pks) throws BOSException, EASBizException, RemoteException;
}